home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / filter.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.2 KB  |  33 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------------
  9. USEFILE("readme.txt");
  10. USEFORM("FILTER1.cpp", fmFilterFrm);
  11. USEFORM("CUSTVIEW.cpp", fmCustView);
  12. USEDATAMODULE("DM.cpp", DM1);
  13. USEFORM("ABOUT.cpp", fmAboutBox);
  14. USERES("filter.res");
  15. //---------------------------------------------------------------------
  16. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  17. {
  18.    try
  19.    {
  20.         Application->Initialize();
  21.         Application->CreateForm(__classid(TfmCustView), &fmCustView);
  22.         Application->CreateForm(__classid(TDM1), &DM1);
  23.         Application->CreateForm(__classid(TfmFilterFrm), &fmFilterFrm);
  24.         Application->Run();
  25.    }
  26.    catch (Exception &exception)
  27.    {
  28.         Application->ShowException(&exception);
  29.    }
  30.     return 0;
  31. }
  32. //---------------------------------------------------------------------------
  33.